package cn.yzgy.yzgyoa.common.dto;

import cn.yzgy.yzgyoa.common.entity.SysAlarm;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 系统告警查询DTO
 *
 * @author Yqsen
 * @since 2020-06-11 11:32:56
 */

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class SysAlarmQueryDto extends SysAlarm {
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
